package com.ht.service.aduit.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.dao.aduit.CharmoduleMapper;
import com.ht.bean.aduit.Charmodule;
import com.ht.service.aduit.CharmoduleService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/28 19:14
 * 
 */
@Service
public class CharmoduleServiceImpl implements CharmoduleService{

    @Resource
    private CharmoduleMapper charmoduleMapper;

    @Override
    public List<Integer> selectModulle(Integer id) {
        return charmoduleMapper.selectModulle(id);
    }

    @Override
    public Charmodule select(Charmodule charmodule) {
        return charmoduleMapper.select(charmodule);
    }

    @Override
    public int deleteByPrimaryKey(Integer charmoduleid) {
        return charmoduleMapper.deleteByPrimaryKey(charmoduleid);
    }

    @Override
    public int insert(Charmodule record) {
        return charmoduleMapper.insert(record);
    }

    @Override
    public int insertSelective(Charmodule record) {
        return charmoduleMapper.insertSelective(record);
    }

    @Override
    public Charmodule selectByPrimaryKey(Integer charmoduleid) {
        return charmoduleMapper.selectByPrimaryKey(charmoduleid);
    }

    @Override
    public int updateByPrimaryKeySelective(Charmodule record) {
        return charmoduleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Charmodule record) {
        return charmoduleMapper.updateByPrimaryKey(record);
    }

}
